package com.baizhi.service.impl;

import com.baizhi.mapper.UserMapper;
import com.baizhi.pojo.User;
import com.baizhi.pojo.UserExample;
import com.baizhi.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper  userMapper;

    @Override
    public User login(User user) {
        User users = userMapper.login(user);
        return users;
    }
}
